package com.zhonghui.procurement.domain;

import com.zhonghui.common.annotation.Excel;
import com.zhonghui.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 题库对象 exercise_library
 *
 * @author zhonghui
 * @date 2023-12-09
 */
public class ProcurementExerciseLibrary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 题干 */
    @Excel(name = "题干")
    private String exercise;

    /** 题型 */
    @Excel(name = "题型")
    private String exerciseType;

    /** 模板id */
    private Long templateId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setExercise(String exercise)
    {
        this.exercise = exercise;
    }

    public String getExercise()
    {
        return exercise;
    }
    public void setExerciseType(String exerciseType)
    {
        this.exerciseType = exerciseType;
    }

    public String getExerciseType()
    {
        return exerciseType;
    }
    public void setTemplateId(Long templateId)
    {
        this.templateId = templateId;
    }

    public Long getTemplateId()
    {
        return templateId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("exercise", getExercise())
                .append("exerciseType", getExerciseType())
                .append("templateId", getTemplateId())
                .toString();
    }
}
